package com.xinyu.mapper;

import com.xinyu.domain.Daily;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinyu.vo.DailyRequest;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author: XinYu
 * @since 2025-02-17
 */
public interface DailyMapper extends BaseMapper<Daily> {

    List<Daily> queryByCondition(DailyRequest dailyRequest);

    Integer dailyCounts(DailyRequest dailyRequest);

    Daily queryById(Integer id);

    int syncStateWithTask();
}
